.tab-layout {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.content-container {
  flex: 1;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.custom-tab-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  height: 80px !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.tab-item {
  flex: 1 !important;
  flex-basis: 0 !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  height: 64px !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 16px !important;
  min-width: 0 !important;
  max-width: none !important;
}

.tab-item.active {
  background: rgba(0, 122, 255, 0.1) !important;
}

.tab-item.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
  animation: pulse 2s infinite;
}

.tab-item:active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 122, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.tab-icon {
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2px;
  color: #8e8e93;
}

.tab-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #8e8e93;
}

.tab-item.active .tab-icon {
  color: #007AFF !important;
  transform: scale(1.2) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 122, 255, 0.3));
}

.tab-item.active .tab-text {
  color: #007AFF !important;
  transform: translateY(-1px);
  font-weight: 600;
}

/* 添加脉冲动画 */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.15;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .content-container {
    padding-bottom: 90px;
  }
  
  .custom-tab-bar {
    height: 90px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
  }
  
  .tab-item {
    padding: 6px 4px !important;
    height: 66px;
    margin: 0 4px !important;
  }
  
  .tab-icon {
    font-size: 24px;
    margin-bottom: 3px;
  }
  
  .tab-text {
    font-size: 10px;
    letter-spacing: 0.3px;
    text-align: center;
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .custom-tab-bar {
    height: 85px;
    padding: 10px 0;
  }
  
  .tab-item {
    height: 65px;
  }
  
  .tab-icon {
    font-size: 24px;
  }
  
  .tab-text {
    font-size: 8px;
  }
  
  .content-container {
    padding-bottom: 85px;
  }
}

/* 横屏适配 */
@media (max-height: 500px) and (orientation: landscape) {
  .custom-tab-bar {
    height: 70px;
    padding: 8px 0;
  }
  
  .tab-item {
    height: 54px;
  }
  
  .tab-icon {
    font-size: 20px;
    margin-bottom: 1px;
  }
  
  .tab-text {
    font-size: 8px;
  }
  
  .content-container {
    padding-bottom: 70px;
  }
}

.custom-tabs {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.custom-tabs .ant-tabs-content-holder {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  padding-bottom: 80px; /* 为底部导航栏留出空间 */
}

.custom-tabs .ant-tabs-tab-list {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  height: 80px !important;
  border-radius: 20px 20px 0 0 !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.custom-tabs .ant-tabs-tab {
  padding: 8px 0 !important;
  margin: 0 !important;
  flex: 1 !important;
  flex-basis: 0 !important;
  flex-grow: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border: none !important;
  background: transparent !important;
  height: 64px !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 16px !important;
  min-width: 0 !important;
  max-width: none !important;
}

.custom-tabs .ant-tabs-tab-btn {
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  color: #8e8e93 !important;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  height: 100% !important;
}

.custom-tabs .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #007AFF !important;
  font-weight: 600;
  background: rgba(0, 122, 255, 0.1) !important;
  transform: translateY(-2px);
  border-radius: 16px !important;
}

.custom-tabs .ant-tabs-tab-active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007AFF, #5856D6);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
  animation: pulse 2s infinite;
}

.custom-tabs .ant-tabs-ink-bar {
  display: none;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px;
}

.tab-icon {
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 2px;
}

.tab-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-tabs .ant-tabs-tab-active .tab-icon {
  transform: scale(1.2) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 122, 255, 0.3));
}

.custom-tabs .ant-tabs-tab-active .tab-text {
  transform: translateY(-1px);
  font-weight: 600;
}

/* 添加脉冲动画 */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.15;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
}

/* 添加涟漪效果 */
.custom-tabs .ant-tabs-tab::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(0, 122, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.custom-tabs .ant-tabs-tab:active::after {
  width: 50px;
  height: 50px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .custom-tabs .ant-tabs-content-holder {
    padding-bottom: 90px;
  }
  
  .custom-tabs .ant-tabs-tab-list {
    height: 90px;
    padding: 12px 16px;
    border-radius: 25px 25px 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.15);
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .custom-tabs .ant-tabs-tab {
    padding: 6px 4px !important;
    height: 66px;
    margin: 0 4px !important;
    flex: 1 !important;
    flex-basis: 0 !important;
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  
  .custom-tabs .ant-tabs-tab-btn {
    font-size: 11px;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .tab-icon {
    font-size: 24px;
    margin-bottom: 3px;
  }
  
  .tab-text {
    font-size: 10px;
    letter-spacing: 0.3px;
    text-align: center;
  }
  
  .custom-tabs .ant-tabs-tab-active .tab-icon {
    transform: scale(1.2) translateY(-2px);
  }
}

/* 超小屏幕适配 */

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .custom-tabs .ant-tabs-tab-list {
    height: 85px;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
  }
  
  .custom-tabs .ant-tabs-tab {
    height: 65px;
  }
  
  .tab-icon {
    font-size: 24px;
  }
  
  .tab-text {
    font-size: 8px;
  }
  
  .custom-tabs .ant-tabs-content-holder {
    padding-bottom: 85px;
  }
}

/* 横屏适配 */
@media (max-height: 500px) and (orientation: landscape) {
  .custom-tabs .ant-tabs-tab-list {
    height: 70px;
    padding: 8px 0;
  }
  
  .custom-tabs .ant-tabs-tab {
    height: 54px;
  }
  
  .tab-icon {
    font-size: 20px;
    margin-bottom: 1px;
  }
  
  .tab-text {
    font-size: 8px;
  }
  
  .custom-tabs .ant-tabs-content-holder {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .custom-tabs .ant-tabs-tab-list {
    height: 55px;
  }
  
  .custom-tabs .ant-tabs-tab {
    padding: 6px 0 !important;
    height: 55px;
  }
  
  .custom-tabs .ant-tabs-tab-btn {
    font-size: 11px;
  }
  
  .tab-icon {
    font-size: 16px;
  }
  
  .tab-text {
    font-size: 10px;
  }
}